#include<iostream>
#include"mytime2.h"

int main()
{
    using std::cout;
    using std::endl;
    Time coding(2,40);
    Time fixing(5,55);
    Time total;
    Time diff;
    Time adjusted;

    cout<<"coding time = ";
    coding.Show();
    cout<<endl;

    cout<<"fixing time = ";
    fixing.Show();
    cout<<endl;

    total=coding+fixing;
    cout<<"coding+fixing = ";
    total.Show();
    cout<<endl;

    diff=fixing-coding;
    cout<<"fixing-coding time = ";
    diff.Show();
    cout<<endl;

    adjusted=total*1.5;
    cout<<"adjusted work time =  ";
    adjusted.Show();
    cout<<endl;
    return 0;

}